<template>
    <div>test</div>
</template>
<script lang="ts">
    import { defineComponent } from 'vue';
    export default defineComponent({
        props:{
            name: String,
            msg: { type: String, required: true}
        },
        data(){
            return {
                counter: 1
            }
        },
        mounted() {
            this.name
            this.msg
            this.counter
        }
    })
</script>